package com.csun.cmny.provider.model.domain;

import com.csun.cmny.core.mybatis.BaseEntity;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Table;
import java.math.BigDecimal;

@Data
@Table(name = "cn_omc_bill_out_hospital_fee")
public class OmcBillOutHospitalFee extends BaseEntity {
    /**
     * 组织Id
     */
    @Column(name = "group_id")
    private Long groupId;

    /**
     * 账单id
     */
    @Column(name = "bill_id")
    private Long billId;

    /**
     * 余额
     */
    private BigDecimal balance;

    /**
     * 应交金额
     */
    private BigDecimal payable;

    /**
     * 应退金额
     */
    @Column(name = "back_fee")
    private BigDecimal backFee;

    /**
     * 请假退费金额
     */
    @Column(name = "leave_back_fee")
    private BigDecimal leaveBackFee;

    /**
     * 出院周期退费金额
     */
    @Column(name = "period_back_fee")
    private BigDecimal periodBackFee;

    /**
     * 退费总额
     */
    @Column(name = "back_total_fee")
    private BigDecimal backTotalFee;
    /**
     * 备注
     */
    private String remark;

}